//src/APP.vue

<template>
<div id="conditional-rendering">
  <span v-if="seen">现在你看到我了</span>
</div>
</template>

<script lang="ts">

export default {
  name: 'App',
  data() {
    return {
      seen: false
    }
  }
}
</script>